//
//  Guest.h
//  2.4.7oc
//
//  Created by 钟纪旺 on 16/4/13.
//  Copyright © 2016年 zjw. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol maicaipiao <NSObject>
//协议
@required
//必须有的
-(void)pay:(float)money;
-(void)shuanSeQiu:(NSString *)str;

@optional
//可有可无的
-(void)guanGuanle;
-(void)pay2:(float)money2;
-(void)shuanSeQiu2:(NSString *)str2;
-(void)guanGuanle2;
-(void)pay3:(float)money3;
-(void)shuanSeQiu3:(NSString *)str3;
-(void)guanGuanle3;
@end
@interface Guest : NSObject
@property (weak,nonatomic)id<maicaipiao> delegate;
//              原子操作     必须遵守协议      代理
-(void)gotoLotteryShop;
@end
